<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" ng-app="CDash">
  <head ng-controller="HeadController">
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow" />
    <link rel="shortcut icon" href="favicon.ico" />
    <link rel="stylesheet" type="text/css" ng-href="build/css/{{cssfile}}_@@version.css" />
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/jquery-ui-1.10.4.css" />
    <script src="js/CDash_@@version.min.js"></script>
    <title ng-bind="title">CDash</title>
  </head>

  <body ng-controller="ViewSubProjectsController">
  -->
    <div ng-if="cdash.requirelogin == 1" ng-include="'login.php'"></div>
    <ng-include ng-if="cdash.requirelogin != 1" src="cdash.header || 'build/views/partials/header_@@version.html'"></ng-include>

    <div id="main_content" ng-if="!loading && cdash.requirelogin != 1">
      <table ng-show="cdash.banners.length > 0" border="0" width="100%">
        <tr ng-repeat="banner in cdash.banners" bgcolor="#DDDDDD">
          <td align="center" width="100%" colspan="2">
            <b>{{banner.text}}</b>
          </td>
        </tr>
      </table>

      <br/>

      <!-- Project table -->
      <table border="0" cellpadding="4" cellspacing="0" width="100%"  class="tabb" >
        <!-- Display the project -->
        <tr class="table-heading1">
          <td colspan="11" align="left" class="nob">
            <h3>Project</h3>
          </td>
        </tr>

        <tr class="table-heading">
          <td align="center" rowspan="2" width="20%"><b>Project</b></td>
          <td align="center" colspan="3" width="20%"><b>Configure</b></td>
          <td align="center" colspan="3" width="20%"><b>Build</b></td>
          <td align="center" colspan="3" width="20%"><b>Test</b></td>
          <td ng-show="cdash.showlastsubmission == 1" align="center" rowspan="2" width="20%" class="nob">
            <b>Last submission</b>
          </td>
        </tr>

        <tr class="table-heading">
          <td align="center"><b>Error</b></td>
          <td align="center"><b>Warning</b></td>
          <td align="center"><b>Pass</b></td>
          <td align="center"><b>Error</b></td>
          <td align="center"><b>Warning</b></td>
          <td align="center"><b>Pass</b></td>
          <td align="center"><b>Not Run</b></td>
          <td align="center"><b>Fail</b></td>
          <td align="center"><b>Pass</b></td>
        </tr>

        <tr class="treven">

          <td align="center">
            <a ng-href="index.php?{{cdash.linkparams}}">
              {{cdash.projectname}}
            </a>
            <a ng-href="index.php?{{cdash.linkparams}}&showfilters=1">
              <img border="0" src="img/filter.gif"/>
            </a>
          </td>

          <td align="center" ng-class="{'error': cdash.project.nconfigureerror > 0, 'normal': cdash.project.nconfigureerror == 0 && !(cdash.project.nconfigurewarning == 0 && cdash.project.nconfigurepass == 0)}">
            <span ng-show="cdash.project.nconfigureerror != 0 || cdash.project.nconfigurewarning != 0 || cdash.project.nconfigurepass != 0">
              {{cdash.project.nconfigureerror}}
            </span>
          </td>

          <td align="center" ng-class="{'warning': cdash.project.nconfigurewarning > 0, 'normal': cdash.project.nconfigurewarning == 0 && !(cdash.project.nconfigureerror == 0 && cdash.project.nconfigurepass == 0)}">
            <span ng-show="cdash.project.nconfigureerror != 0 || cdash.project.nconfigurewarning != 0 || cdash.project.nconfigurepass != 0">
              {{cdash.project.nconfigurewarning}}
            </span>
          </td>

          <td align="center" ng-class="{'normal': cdash.project.nconfigurepass != 0 || cdash.project.nconfigureerror != 0 || cdash.project.nconfigurewarning != 0}">
            <span ng-show="cdash.project.nconfigureerror != 0 || cdash.project.nconfigurewarning != 0 || cdash.project.nconfigurepass != 0">
              {{cdash.project.nconfigurepass}}
            </span>
          </td>

          <td align="center" ng-class="{'error': cdash.project.nbuilderror > 0, 'normal': cdash.project.nbuilderror == 0 && !(cdash.project.nbuildwarning == 0 && cdash.project.nbuildpass == 0)}">
            <span ng-show="cdash.project.nbuilderror != 0 || cdash.project.nbuildwarning != 0 || cdash.project.nbuildpass != 0">
            {{cdash.project.nbuilderror}}
            </span>
          </td>

          <td align="center" ng-class="{'warning': cdash.project.nbuildwarning > 0, 'normal': cdash.project.nbuildwarning == 0 && !(cdash.project.nbuilderror == 0 && cdash.project.nbuildpass == 0)}">
            <span ng-show="cdash.project.nbuilderror != 0 || cdash.project.nbuildwarning != 0 || cdash.project.nbuildpass != 0">
              {{cdash.project.nbuildwarning}}
            </span>
          </td>

          <td align="center" ng-class="{'normal': cdash.project.nbuildpass > 0}">
            <span ng-show="cdash.project.nbuilderror != 0 || cdash.project.nbuildwarning != 0 || cdash.project.nbuildpass != 0">
              {{cdash.project.nbuildpass}}
            </span>
          </td>

          <td align="center" ng-class="{'warning': cdash.project.ntestnotrun > 0, 'normal': cdash.project.ntestnotrun == 0 && (cdash.project.ntestpass != 0 || cdash.project.ntestfail != 0)}">
            <span ng-show="cdash.project.ntestfail != 0 || cdash.project.ntestpass != 0 || cdash.project.ntestnotrun != 0">
            {{cdash.project.ntestnotrun}}
            </span>
          </td>

          <td align="center" ng-class="{'error': cdash.project.ntestfail > 0, 'normal': cdash.project.ntestfail == 0 && (cdash.project.ntestnotrun != 0 || cdash.project.ntestpass != 0)}">
            <span ng-show="cdash.project.ntestfail != 0 || cdash.project.ntestpass != 0 || cdash.project.ntestnotrun != 0">
              {{cdash.project.ntestfail}}
            </span>
          </td>

          <td align="center" ng-class="{'normal': cdash.project.ntestpass > 0}">
            <span ng-show="cdash.project.ntestfail != 0 || cdash.project.ntestpass != 0 || cdash.project.ntestnotrun != 0">
              {{cdash.project.ntestpass}}
            </span>
          </td>

          <td ng-if="cdash.showlastsubmission" align="center" class="nob">
            {{cdash.project.lastsubmission}}
          </td>
        </tr>
      </table>


      <!-- SubProjects table -->
      <ng-include ng-init="cdash.tableName = 'SubProjects'" src="'build/views/partials/subProjectTable_@@version.html'"></ng-include>

      <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td height="1" colspan="14" align="left" bgcolor="#888888"></td>
        </tr>
      </table>

      <br/>

      <!-- Links to view SubProject dependencies -->
      <a ng-href="viewSubProjectDependencies.php?{{cdash.linkparams}}">
        [View SubProject Dependencies]
      </a>
      <a ng-href="viewSubProjectDependenciesGraph.php?{{cdash.linkparams}}">
        [Graph]
      </a>
    </div>

    <br/>
    <!-- FOOTER -->
    <br/>
    <ng-include ng-if="cdash.requirelogin != 1" src="cdash.footer || 'build/views/partials/footer_@@version.html'"></ng-include>
<!--  </body>
</html> -->
